package com.lifa.service.impl;

import com.lifa.dao.NeitiaoDao;
import com.lifa.entity.Neitiao;
import com.lifa.service.NeitiaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NeitiaoServiceImpl implements NeitiaoService {
    @Autowired
    private NeitiaoDao neitiaoDao;


    @Override
    public List<Neitiao> selectNeitiao1() {
        return neitiaoDao.selectneitiao();
    }

    @Override
    public long neitiaozongtiaoshu(String Banliren) {
        return neitiaoDao.neitiaozongtiaoshu(Banliren);
    }

    @Override
    public List<Neitiao> neitiaofenye(String Banliren, int offset, int limit) {
        return neitiaoDao.neitiaofenye(Banliren,offset,limit);
    }
}
